html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  /* background-color: red; */
  background: url(../images/login_bg.jpg) no-repeat center;
  background-size: cover;
}

/* 登录注册区域 */
.loginAndRegBox {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 310px;
  background-color: #fff;
}
.title-box{
  width: 100%;
  height: 41px;
  background: url(../images/login_title.png) no-repeat center;
}
/* 注册区域 */
.reg-box{
  display: none;
}
.layui-form{
  padding: 0 30px;
}
.link{
  display: flex;
  justify-content: flex-end;
}
.link a{
  font-size: 12px;
}
.layui-form-item{
  position: relative;
}
.layui-icon{
  position: absolute;
  top:10px;
  left: 10px;
}
.layui-input{
  padding-left: 32px;
}